package com.ruoyi.ncpsy.mapper;

import java.util.List;
import com.ruoyi.ncpsy.domain.NcpsyPesticideInfo;

/**
 * 农药信息登记Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-24
 */
public interface NcpsyPesticideInfoMapper 
{
    /**
     * 查询农药信息登记
     * 
     * @param pesticideId 农药信息登记主键
     * @return 农药信息登记
     */
    public NcpsyPesticideInfo selectNcpsyPesticideInfoByPesticideId(Long pesticideId);

    /**
     * 查询农药信息登记列表
     * 
     * @param ncpsyPesticideInfo 农药信息登记
     * @return 农药信息登记集合
     */
    public List<NcpsyPesticideInfo> selectNcpsyPesticideInfoList(NcpsyPesticideInfo ncpsyPesticideInfo);

    /**
     * 新增农药信息登记
     * 
     * @param ncpsyPesticideInfo 农药信息登记
     * @return 结果
     */
    public int insertNcpsyPesticideInfo(NcpsyPesticideInfo ncpsyPesticideInfo);

    /**
     * 修改农药信息登记
     * 
     * @param ncpsyPesticideInfo 农药信息登记
     * @return 结果
     */
    public int updateNcpsyPesticideInfo(NcpsyPesticideInfo ncpsyPesticideInfo);

    /**
     * 删除农药信息登记
     * 
     * @param pesticideId 农药信息登记主键
     * @return 结果
     */
    public int deleteNcpsyPesticideInfoByPesticideId(Long pesticideId);

    /**
     * 批量删除农药信息登记
     * 
     * @param pesticideIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNcpsyPesticideInfoByPesticideIds(Long[] pesticideIds);
}
